package com.zhanggm.s3.api;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.elasticsearch.annotations.Highlight;
import org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;



@EnableScheduling
@EnableTransactionManagement
@EnableElasticsearchRepositories(basePackages = {"com.zhanggm.s3"})
@MapperScan(basePackages = {"com.zhanggm.s3.user.mapper","com.zhanggm.s3.house.mapper"})
@SpringBootApplication(scanBasePackages = {"com.zhanggm.s3"})
public class HsApiApplication {

	public static void main(String[] args) {
		SpringApplication.run(HsApiApplication.class, args);
	}

}
